package com.example.shardingjdbc.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@TableName("t_user")
public class UserModel {
    private Long id;
    private Long profileId;
    private String name;
    private String status;

    public UserModel(String name, Long profileId, String status){
        this.name = name;
        this.profileId = profileId;
        this.status = status;
    }
}
